package com.cloudlinkscm.loms.services.base.notify.service;

import com.cloudlinkscm.loms.framework.core.pojo.RestfulApiResponse;
import com.cloudlinkscm.loms.services.base.notify.dto.email.EmailMessageDto;
import com.cloudlinkscm.loms.services.base.notify.dto.SendResultDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 定义邮件服务
 *
 * @author : tac
 * @date : 2017/6/14
 */


public interface EmailRemoteService {
    String PATH = "email";

    @RequestMapping(value = "send_email", method = RequestMethod.POST)
    RestfulApiResponse<SendResultDto> sendEmail(@RequestBody EmailMessageDto emailMessageDto);
}
